//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamReferItemDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamReferItemService;
//import com.rt.schedulebase.entity.ExamReferItem;
//import com.rt.schedulebase.mapper.ExamReferItemMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamReferItemServiceImpl extends ServiceImpl<ExamReferItemMapper, ExamReferItem> implements IExamReferItemService
//{
//@Override
//    public boolean insertSelective(final ExamReferItem examReferItem) {
//        return this.retBool(Integer.valueOf(((ExamReferItemMapper)this.baseMapper).insert(examReferItem)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamReferItemMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamReferItem examReferItem) {
//        return this.retBool(Integer.valueOf(((ExamReferItemMapper)this.baseMapper).updateById(examReferItem)));
//    }
//
//@Override
//    public ExamReferItem selectByPrimaryKey(final String key) {
//        return (ExamReferItem)((ExamReferItemMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamReferItem> getList(final ExamReferItemDto dto) {
//        final QueryWrapper<ExamReferItem> qw = (QueryWrapper<ExamReferItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_ID", dto.getApplyId());
//        qw.allEq((Map)map, false);
//        final List<ExamReferItem> list = (List<ExamReferItem>)((ExamReferItemMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamReferItem> getListAll() {
//        return (List<ExamReferItem>)((ExamReferItemMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamReferItem examReferItem) {
//        final UpdateWrapper<ExamReferItem> uw = (UpdateWrapper<ExamReferItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_ID", examReferItem.getApplyId());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamReferItemMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamReferItem examReferItem) {
//        final UpdateWrapper<ExamReferItem> uw = (UpdateWrapper<ExamReferItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_ID", examReferItem.getApplyId());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamReferItemMapper)this.baseMapper).update(examReferItem, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamReferItem getInfo(final ExamReferItemDto dto) {
//        final QueryWrapper<ExamReferItem> qw = (QueryWrapper<ExamReferItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_ID", dto.getApplyId());
//        qw.allEq((Map)map, false);
//        return (ExamReferItem)((ExamReferItemMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
